<!--%import("./css/cart.css")-->
<!--%import("./js/cart.js")-->


{@ // 상점의 이름으로부터 상점이 설정한 최소값을 구한다.		
				
	$oDB = &DB::getInstance();

	$result = $oDB->_query("SELECT nick_name FROM yman_documents where module_srl = 141;");
	
	$output = $oDB->_fetch($result);
	
	$nickname = (array)$output;

}
<!--@for($i=0;$i<count($nickname);$i++)-->
	{@
	$result = $oDB->_query("SELECT value from yman_document_extra_vars where document_srl = (SELECT document_srl FROM yman_documents where nick_name = '".$nickname[$i]->nick_name."' and module_srl = 141 limit 1) and var_idx=1 limit 1;");
	
	$output = $oDB->_fetch($result);
	
	$temp = (array)$output;
	}
<script type="text/javascript">
	// <![CDATA[
	minimumPrice['{$nickname[$i]->nick_name}']={$temp[value]};
	// ]]>
</script>
<!--@end-->

<div id="footer" style="border-top:none;border-bottom:none;background:white; z-index:99;">
	<div id="divUpper">
		<div style="width:50%;text-align:center;color:white;font-size:6px;">▲</div>
	</div>
	<div id="footer_cart">
		<div id="divCartBt">
			<!--<a id="open_cart" data-theme="e">△ 주문서 <span class="cart_sum" style="display:none;">(<span class="cart_sum_num">0</span>)</span></a><a id="close_cart"  style="display:none" data-theme="e">▽ 주문서 <span class="cart_sum" style="display:none;">(<span class="cart_sum_num">0</span>)</span></a>-->
			<img src="./images/iconCart.png" width="32" height="26"><br>
			주문서보기
		</div>
		<div id="divOrder" onClick="javascript:Order();">
			<img src="./images/iconOrder.png" width="32" height="26"><br>
			주문하기
		</div>
	</div>
</div>
